package com.atguigu.ssyx.user.service;

import com.atguigu.ssyx.enums.user.Leader;
import com.atguigu.ssyx.enums.user.User;
import com.atguigu.ssyx.model.product.AttrGroup;
import com.atguigu.ssyx.vo.user.LeaderQueryVo;
import com.atguigu.ssyx.vo.user.LeaderVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface LeaderService extends IService<Leader> {
    IPage<Leader> selectPageLeader(Page<Leader> pageParam, LeaderQueryVo leaderQueryVo);

    IPage<Leader> selectPageCheckList(Page<Leader> pageParam, LeaderQueryVo leaderQueryVo);


    //  保存团长信息
    void saveLeader(Leader leader);
    //  更新团长信息
    void updateLeader(Leader leader);

    Leader getLeader(Long id);
}
